<template>
  <div class="setting">
    <div class="msg_list">
      <ul>
        <li class="msg_list_container">
          <router-link to="" class="msg_list_item">
            <!--<span class="left_img"><img src="../../static/img/doctor.png"/></span>-->
            <div class="middle_content">
              <p class="content">版本号（1.0.0）</p>
              <!--<img class="right_arrow" src="../../../static/img/hole_forward.png"/>-->
            </div>
          </router-link>
        </li>
        <li class="msg_list_container">
          <router-link to="" class="msg_list_item">
            <!--<span class="left_img"><img src="../../static/img/family.png"/></span>-->
            <div class="middle_content">
              <p class="content">关于</p>
              <img class="right_arrow" src="../../../static/img/hole_forward.png"/>
            </div>
          </router-link>
        </li>
        <li class="msg_list_container">
          <router-link to="" class="msg_list_item">
            <!--<span class="left_img"><img src="../../static/img/family.png"/></span>-->
            <div class="middle_content">
              <p class="content">联系我们</p>
              <img class="right_arrow" src="../../../static/img/hole_forward.png"/>
            </div>
          </router-link>
        </li>
      </ul>
    </div>
    <!--退出账号-->
    <p class="exit" @click="out">退出账号</p>
  </div>
</template>

<script>
    export default {
      name: "setting",
      methods: {
        out () {
          this.$router.push('/login')
        }
      },
      components: {
      }
    }
</script>

<style scoped>
  .setting{
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*height: 100vh;*/
    padding-top: 90px;/*rem*/
    background-color: #F5F5F5;
  }
  .msg_list{
    background-color: #fff;
    margin-top: 20px;/*rem*/
  }
  .msg_list_container{
    padding-left: 34px;/*rem*/
  }
  .msg_list_item{
    display: flex;
  }
  .msg_list_item .left_img{
    height: 40px;/*rem*/
    width: 40px;/*rem*/
    margin-right: 38px;/*rem*/
  }
  .msg_list_item .left_img img{
    height: 100%;
    width: 100%;
  }
  .msg_list_item .middle_content{
    flex: 1;
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 18px 20px 0;/*rem*/
    align-items: center;
  }
  .msg_list_item .middle_content .content{
    flex: 1;
    text-align: left;
    font-size: 24px;/*px*/
    color: #333;
  }
  .msg_list_item .middle_content .right_arrow{
    height: 20px;/*rem*/
    width: 12px;/*rem*/
  }
  .exit{
    margin-top: 20px;/*rem*/
    height: 90px;/*rem*/
    width: 100%;
    line-height: 90px;/*rem*/
    text-align: center;
    font-size: 26px;/*px*/
    color: #e33324;
    background-color: white;
  }

</style>
